PROJECT(Rpcgen)

IF(CMAKE_COMPILER_IS_GNUCXX)
    ADD_DEFINITIONS("-Wall -ansi -pedantic -D DEBUG -g")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
FILE(GLOB SRCFILES *.c)
ADD_EXECUTABLE(rpcgen ${SRCFILES})
